package com.ajmd.onlineexam.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author ajmd
 * @since 2023/4/28 15:05
 */
@TableName("e_test_paper_question")
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class TestPaperQuestionPO implements Serializable {
    //唯一标识
    private String id;
    //试卷id
    private String testPaperId;
    //题库试题id
    private String questionId;
    //排序
    private Integer sort;
    //分值
    private BigDecimal score;
    //试题类型
    private Integer questionType;
    //试题内容
    private String content;
    //试题答案
    private String answer;
    //答案解析
    private String answerAnalysis;
    //是否允许顺序不一致（填空
    private Boolean allowDifficultOrder;
    //答案关键词
    private String answerKey;
    //是否有图片
    private Boolean hasPic;
    //评分方式
    private Integer gradeMethod;
    //困难等级
    private Integer difficulty;
    //正确率
    private BigDecimal rightRate;
    //漏选得分（多选
    private Boolean allowMissing;
}
